package org.kuan.lab.base.util;

import java.util.Calendar;
import java.util.Date;

public class DateUtil {

	public static Date getAfterOneDay(Date date) {
		if(date == null) return null;
		Calendar cal = Calendar.getInstance();
		cal.setTime(date);
		cal.set(Calendar.DAY_OF_MONTH, cal.get(Calendar.DAY_OF_MONTH) + 1);
		return cal.getTime();
	}
	
}
